package com.itcast.service.impl;

import com.itcast.mapper.CommontMapper;
import com.itcast.pojo.Commont;
import com.itcast.service.Commontservice;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-19
 */
@Service("commontservice")
public class CommontServiceImpl extends ServiceImpl<CommontMapper, Commont> implements Commontservice {

    @Autowired
    private  CommontMapper commontMapper;

    @Override
    public List<Commont> selectComment() {
        return commontMapper.selectComment();
    }
}
